home *** CD-ROM | disk | FTP | other *** search
/ Amiga Games: Greatest Hits 1996 / Amiga Games: Greatest Hits 1996.iso / archive / spiele / demoversionen / extreme.dms / extreme.adf / Install_XTremeRacing < prev    next >
Text File  |  1995-10-29  |  1KB  |  40 lines

  1. FailAt 21
  2. Echo "cInstalling XTremeRacing Demo"
  3. RequestChoice >NIL: "XTremeRacing Installer V1.00" "Please select the desination drive to install the demo to.*nDO NOT install in a sub-directory, only install to the root or this will fail!*nThis install will also fail if the drive name contains a space!" "Proceed"
  4. RequestFile DRAWER "SYS:" TITLE "Select drive to install to..." DRAWERSONLY >ENV:XTRPath
  5.  
  6. IF WARN
  7.     Echo "XTremeRacing Demo Installation Aborted."
  8.     Quit 5
  9. EndIF
  10.  
  11. Echo "Please wait unpacking archive..."
  12. Echo >T:UnpackXTR "LHEX -w=" NOLINE
  13. Echo >>T:UnpackXTR $XTRPath NOLINE
  14. Echo >>T:UnpackXTR " x XTR.lha"
  15. Execute T:UnpackXTR
  16. Delete T:UnpackXTR QUIET
  17.  
  18. IF EXISTS S:User-startup
  19.     Echo >>S:User-Startup "*n;BEGIN XTremeRacing*nAssign XTR: " NOLINE
  20.     Echo >>S:User-Startup $XTRPath NOLINE
  21.     Echo >>S:User-Startup "XTR"
  22.     Echo >>S:User-Startup ";END XTremeRacing"
  23. Else
  24.     Echo "*nERROR: Unable to find S:User-startup*nPlease add the following line to your S:Startup-sequence:"
  25.     Echo "*nAssign XTR: " NOLINE
  26.     Echo $XTRPath NOLINE
  27.     Echo "XTR*n*n"
  28. EndIF
  29.  
  30. Echo >T:AssignXTR "Assign >NIL: XTR: " NOLINE
  31. Echo >>T:AssignXTR $XTRPath NOLINE
  32. Echo >>T:AssignXTR "XTR"
  33.  
  34. Execute T:AssignXTR
  35. Delete T:AssignXTR QUIET
  36.  
  37. Echo "Installation Complete.*nYou can find the demo in"$XTRPath NOLINE
  38. Echo "XTR"
  39. UnSetEnv XTRPath
  40.